package com.yang.struct;

public class ForDemo04 {
    public static void main(String[] args) {
        //九九乘法表
        //1.打印第一列
        //2.把固定的1再用一个循环包起来
        //3.去掉重复项i <= a
        //4.调整样式
        for (int a = 0; a <= 9; a++) {
            for (int i = 1; i <= a; i++) {
                System.out.print(a+"*"+i+"="+a*i+"\t");
            }
            System.out.println();
        }

    }
}
